<tpl var layoutBody={ />
<div>
	<div class="layui-breadcrumb">
		<a href="javascript:;"><cite>数据表</cite></a>
	</div>
	<hr>
	<table class="layui-table" lay-data="{height: 'full-180', page: false, loading:true, url:'table.json'}">
		<thead>
			<tr>
				<th lay-data="{unresize:true,type:'numbers'}">ID</th>
				<th lay-data="{unresize:true,field:'name'}">表名</th>
				<th lay-data="{unresize:true,field:'comment'}">备注</th>
				<th lay-data="{unresize:true,align:'center', width:80, toolbar: '#toolbar-tpl'}">操作</th>
			</tr>
		</thead>
	</table>
</div>

<tpl }; />
<tpl var layoutScript={ />
<script type="text/javascript">
	layui.use(['element', 'table'], function () {

	});
</script>
<script type="text/html" id="toolbar-tpl">
	<a class="layui-btn layui-btn-xs" href="table.jspx?table={{d.name}}&name={{d.comment}}">查看</a>
</script>
<tpl }; />
<tpl include( "../../../tpl/layout.html" ,{identity: "platform:table" ,layoutBody:layoutBody,layoutScript:layoutScript}){} />